Platform Explorer / Nuxeo Platform LTS 2019 10.10

Extension point unicity

Documentation

The unicity extension point adds a digest to the given field using the given algorithm. If the same file is already on the server, a new Message is send to JMS bus with DocumentLocation if the existing files.

    <unicitySettings>
        <enabled>true</enabled>
        <algo>sha-256</algo>
        <field>file:content</field>
        <computeDigest>true</computeDigest>
    </unicitySettings>

Contribution Descriptors

  • Class: org.nuxeo.ecm.platform.filemanager.service.extension.UnicityExtension

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-platform-filemanager-core-10.10-HF32.jar /OSGI-INF/nxfilemanager-plugins-contrib.xml
    <extension point="unicity" target="org.nuxeo.ecm.platform.filemanager.service.FileManagerService">
        <documentation>
          Unicity Service disabled by default.
        </documentation>
    
        <unicitySettings>
          <algo>sha-256</algo>
          <field>file:content</field>
          <enabled>false</enabled>
          <computeDigest>false</computeDigest>
        </unicitySettings>
      </extension>